package com.zzyl.job;

import com.zzyl.nursing.domain.AlertRule;
import com.zzyl.nursing.service.IAlertRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component("alertJob")
public class AlertJob {

    @Autowired
    private IAlertRuleService iAlertRuleService;

    public void deviceDataAlertJob(){
        iAlertRuleService.deviceDataAlertJob();
    }
}
